<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<style>
    .bt_view {

	background-color: #8099de;
	border: 1px solid #999;
	width: 80px;
	height: 20px;
	border-radius: 8px;
	border: none;
	margin: 0 0 0 5px;
	font-weight: bold;
	font-size: 0.9em;
	color: #FFF;
	background-image: url(../images/member/dup.jpg);
	background-repeat: repeat-x;
	background-position: center center;
}
    
</style>

<div id="member_page">
	<header>
		<div id="title">
			<b>Information</b>
		</div>

		<div id="bar"></div>
	</header>

	<section id="member_form">
		<table id="table-simple" summary="사용자 등록 결과">
			<tr>
				<th width="120">번호</th>
				<td width="460">${member.seqId }</td>
			</tr>
			<tr>
				<th>아이디</th>
				<td>${member.memberId }</td>
			</tr>
			<tr>
				<th>이름</th>
				<td>${member.name }</td>
			</tr>
			<tr>
				<th>성별</th>
				<td>${member.gender }</td>
			</tr>

			<tr>
				<th>생년월일</th>
				<td>${member.dateOfBirth }</td>
			</tr>
			<tr>
				<th>연락처</th>
				<td>${member.phoneNumber }</td>
			</tr>
			<tr>
				<th>이메일</th>
				<td>${member.email }</td>
			</tr>
			<tr>
				<th>대학교</th>
				<td>${member.university }</td>
			</tr>
			<tr>
				<th>전공</th>
				<td>${member.major }</td>
			</tr>
			<tr>
				<th>졸업연도</th>
				<td>${member.graduatedYear }</td>
			</tr>
			<tr>
				<th>주소</th>
				<td>${member.address }</td>
			</tr>

			<tr>
				<th>우대사항</th>
				<td>${member.addPoint }</td>
			</tr>
			<tr>
				<th>언어</th>
				<td>${member.language }</td>
			</tr>
			<tr>
				<th>연수과정</th>
				<td>${member.course.courseName }</td>
			</tr>
			<tr>
				<th>자격증</th>
				<td><c:forEach items="${member.certificationList }"
						var="certification">
					${certification.certificationName }<br>
					</c:forEach></td>
			</tr>
		</table>
		<p align="center">
		<form method="POST" action="<c:url value="/member/modifyMember"/>">
			<input name="seqId" type="hidden" value="${member.seqId}" />	
					<p align="center"> 
					<input type="submit" value="수정하기" class="bt_view"/>
		</form>
		
	</section>
</div>